<script>
    alert("{$message}");
    window.close();
</script>
